/*
 * Background.h
 *
 *  Created on: 30/05/2014
 *      Author: lucio
 */

#ifndef BACKGROUND_H_
#define BACKGROUND_H_
#include <cairomm/refptr.h>
#include <gtkmm/drawingarea.h>
#include <gdkmm/pixbuf.h>
#define PATH_BACKGROUND "background.jpg"

class Background: public Gtk::DrawingArea {
public:
	Background();
	virtual ~Background();
protected:
	Glib::RefPtr<Gdk::Pixbuf> background;

	//Override default signal handler:
	virtual bool on_draw(const Cairo::RefPtr<Cairo::Context>& cr);
};

#endif /* BACKGROUND_H_ */
